package com.shop.manager.service;

//import com.shop.manager.entity.bean.Cart;
//import com.shop.manager.entity.Item;

import com.base.common.entity.Item;
import com.base.common.entity.bean.Cart;

import java.util.List;
import java.util.Map;

/**
 * 功能描述：商品service
*/
public interface ItemService extends BaseService<Item> {

    Map<String, Object> getDynamicPage(Long goodsId);

    int updateStatus(Long[] ids, String status);

    boolean deductionStock(List<Cart> cartList);
}
